package com.microservice.cloud.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.UUID;

@RestController

public class OrderController {


    @RequestMapping("/order/docker")
    public String helloDocker() {
        return "hello world \t" + "1111" + "\t" + UUID.randomUUID().toString();
    }

    @RequestMapping(value = "/order/index", method = RequestMethod.GET)
    public String index() {
        return "服务端口号：" + "\t" + "1111" + "\t" + UUID.randomUUID().toString();
    }
}
